import unittest


# class MyTestCase(unittest.TestCase):
#     def test_something(self):
#         self.assertEqual(True, False)
# from TestAdd import TestAdd
# import TestSub

if __name__ == '__main__':
   # ts= unittest.TestSuite()
   # ts.addTest(TestAdd('test_add1'))
   # ts.addTest(TestAdd('test_add3'))
   # ts.addTest(TestAdd('test_add2'))
   # ts.addTest(TestSub.TestSub('test_sub3'))
   # ts.addTest(TestSub.TestSub('test_sub2'))
   # ts.addTest(TestSub.TestSub('test_sub1'))
   # tr=unittest.TextTestRunner()
   # tr.run(ts)
   ts=unittest.defaultTestLoader.discover('./p2',pattern='Test*.py')
   tr=unittest.TextTestRunner()
   tr.run(ts)

